﻿using Learun.Util;
using System.Data;
using System.Collections.Generic;

namespace Learun.Application.TwoDevelopment.ZZDT_EC
{
    /// <summary>
    /// 版 本 PIT-ADMS V7.0.3 敏捷开发框架
    /// Copyright (c) 2013-2018 Hexagon PPM
    /// 创 建：超级管理员
    /// 日 期：2022-03-07 13:45
    /// 描 述：工程数据图元
    /// </summary>
    public interface ec_enginedata_pixelIBLL
    {
        #region 获取数据

        /// <summary>
        /// 获取列表数据
        /// <summary>
        /// <returns></returns>
        IEnumerable<ec_enginedata_pixelEntity> GetList(string queryJson);
        /// <summary>
        /// 获取工程数据图元表数据
        /// <summary>
        /// <param name="EngineDataID">工程数据ID</param>
        /// <param name="ProjectId">项目ID</param>
        /// <returns></returns>
        IEnumerable<ec_enginedata_pixelEntity> GetEnginePixelById(string ProjectId, string EngineDataID);
        /// <summary>
        /// 获取图纸工程数据
        /// <summary>
        /// <returns></returns>
        IEnumerable<ec_enginedata_pixelEntity> GetDrawingEnginePixel(string queryJson);
        #endregion

        #region 提交数据

        /// <summary>
        /// 批量保存工程数据图元
        /// <summary>
        /// <returns></returns>
        void SavePixels(List<ec_enginedata_pixelEntity> entityList, string ProjectId, string drawingFileID);

        /// <summary>
        /// web
        /// <param name="engineDataID">工程数据ID</param>
        /// <summary>
        /// <returns></returns>
        void SavePixelsWeb(string engineDataID, List<ec_enginedata_pixelEntity> entityList, string ProjectId);
        #endregion

    }
}
